Freeze the update counter for unmapped windows
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 4 Oct 2012 00:13:42 +0000 (20:13 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:48 +0000 (17:19 -0500)
commit355e305c1686968467269e8dafbda9b896315d12
tree7a04cf0e574bac075af2786f34a81f7ad2dd4721
parent8a6895fe5262a881ff734b5bade8e3d5d46ed648
Freeze the update counter for unmapped windows

When a window is unmapped, freeze its frame clock. This avoids doing
unnecessary work, but also means that we won't block waiting for
_NET_WM_FRAME_DRAWN messages that will never be received since the
frame ended while the window was withdrawn.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkwindow-x11.c